package com.sc.sc250601.cook.mapper;

import com.sc.sc250601.cook.pojo.BrowseRecord;
import com.sc.sc250601.cook.pojo.RecipeBrowseDTO;

import java.util.List;


public interface BrowseRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BrowseRecord record);

    int insertSelective(BrowseRecord record);

    BrowseRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BrowseRecord record);

    int updateByPrimaryKey(BrowseRecord record);
    List<RecipeBrowseDTO> getRecipeListByUserId(Long userId);

}